support for partition codes with example #4