length is now working
avoid going back