Adding Flange assignment