added draw Y method