Replaced wrong "transfornming" to "switched"