Got S production parsing somewhat