initiated the main canvas