- added some references applied a few of Viliam's suggested changes