defining a symbloic variable for the index