lazy evaluation for resource set