adding find functionality