moved reg_names to class variable