Refactoring, DAO now can get any items in a particular state