added consistent varNames, comments - basic structure working