got retrieving a list of resources working