behaviour accessors to x and y