adding simple scoring for case/switch statements