added way to generically poll the RM for resources