Added extra functions for drawing