Setting up and working with operation modes