Checking for validity and searching now work :sailboat: