new query types, abstact CRUD repository