Simply way to retrieve resource values