minor update: added #ifdef