finished wiring up realtime drawing