updates to the names and comments of the code