began writing parser