Defining subscripts with extensions