added some convenience methods to get resources