the amazingly disgusting refactored code is almost to its completion. just need to figure out how to add the hour count at the end.