Code used to assist the hands on workshop conducted on Jan 25th, 2014