added same line and parallel outputs