fixed example to have namespace
added or to id check for all with criteria searching