x = horizontal and y = vertical