changed positions of classes