Resources now not a static integer