cleanup

removed extraneous hash assignment and cleaned up new_entry to be more
succinct