Buggy code
Working adv part assign