Nice job using indices to access and update the values of an array storing variables! This code would work great for an online store.