making work with sequences