add named scopes in the model