jpallette fix switch statements
yolo