Changed the globals to namespace P1 first