commit initial version of switch continuity code