switched methods