Simply moving mode to after modeoct would make the # 100600 comment redundant.