switched APIs