TAG: automatic signal assignment