Changed X and Y to x and y.