added more output to text files