Adapted to adaptive Switch