search now works for partial strings