move renaming to params