leaving class