put upper bound on resourcet