compile mode