plumbing to routes.py
making the search work