only using one instance variable in index controller action for resource