put docs in right order
let user specify search term