moved canvas reference into Controller
test stub