return found/error to make code cleaner