``PCs`` and ``num`` have not to be global