using named scopes for completed and uncompleted resources