Working on maximized switching setup, need help for end