Added seq2hash