added third output line