http://www.lancs.ac.uk/iss/theguideworks/samples/xl97_int.pdf