re-working ex 1 reg assign