restruc class method