readX() and readY() tests and implements