Fixed Nop's reliance on globals