showing how to index a variable