case statement syntax mistake fixed now for realz