change y=>y-1 and reay function