added rudimentary search feature