commented all the code because it is just a sample - need to finish this