Debugged find function

And deleted the implementation of add because it was not right.