got rid of fxns that were never called, adding comments