wip on frozen variables