added some starting documentation to the code