New static variable handling mechanism