Just `return $possibleApp;` here instead of looping though the rest, as you only use one wayway