manipulations with switch. handler works.