move re to class