Made preprocessor global, added tagPOS method