added my own switching program