added draw-card function