using variable to see what is in index number two