simple use of canvas