remove create function
moving displayCanvas
adding setCanvas function
fixed loops
adding create canvas command