conditional module def