updated changes. Added some additional documentation