array.find(x) expects x to be a method not a value