Added echos to see the point of the error