Attempting to add yPosition variable