fixed version with correct seqeunce thing