more switch parsing