set x=1000 and y =0