just need to put output into a file