switch statements extended.