Use preprocessor if/else to switch modes