Nice working version of resource+duos