continued with draw.c and draw.h implementation, now the integration begins