autoMast: add automatic parsing