Drawing functions added