Updated to contain x and y cordinates, must be set using setX and setY