Added start of handling switching stages