Codes (from : http://www.aber.ac.uk/media/Documents/S4B/sem08.html