adding canvas to index