initial seach implementation
merged