Added setX() and setY()