adding new_entry handler