added consume_fasta functions