add return to insert_entry