added logging to parsing