reverse class