I know it is too late to change everything but I have question why we need to return list?
IMHO returning tuple will be more correct: