Added reset_entry. Still not working, so may just rewrite alternate version and debug current search2