put projector code under macro CMK_PROJECTOR