compute statistics
copy stats
nix .txt file for stats