Setup for loop for line classes