Updated find function.