more switch statements