got basic parsing working