added drawing functions and colours