cleaned up code and commented
cleaned up code and commented, added journal