extract criteria.
create not specification.
inline a couple more query methods.