better interface in the transformation of a moving into a generic flag