added mode config