This is a simple example of using canvas