adding line info to output