Added a comment to the Y direction function