add definition of named scope all method