- testing switch implemented