added sink statements to track where code is at, send to outfile.txt