add canvas and drawing functionality