introduced general output parsing