changing parameters in find ideas
edit criteria function updated.