if statement in draw added