initial lswitch example