Changes Made to do setup of canvas