added sequence structure to map from a seqeunce to its candidates