made some minor changes in the writeup suggested by scotland