search works, edit doesn't really