more flexible sequence creation