fixed parser; generation tbd; also, added buffer overflow