removed the join('\n') at the call back stage