changed outputFasta() a bit