initial check in

Added fxn descriptions in comments