Search implemented.

Needs improvement.