implemented "did you mean" functionality