Implemented drawing functions, need to fix