updated basic output parsing