added more methods for setting x, y and scale