introduce the maintenance mode and handling
simplified handling