add instance variables to the index action