needs to be fixed x,y limits