adding find function