Added comment for getX