debuging, multiple sequences fixed