adding find function to index and using it in test example
separating and exposing problem with example