added modes to config