Creating and changing sequences