arrange class