added width and height of canvas (because I'm using this frequently) and changed the indentation