Each time the loop runs, access the current index in the classes and times lists by coding index between the brackets.
classes
times
index
Make sure to pick index, followed by index.