compelted the code for seqStringDatabase