added a reference
added some comments