Start adding switch - frontio.cpp