All code - end of project 07/06/2013