cleaner way of drawing