added #define block for start switch code