Loop is now a class