added search by criteria