Updated the file with my functions and comments