This example doesn't work properly. Some fixes need to be done.