Added switch program