some errors, but the canvas should be working