finally got he app calling to the canvas API