remove rownames from output file, add more documentation