adds sequences with head, last, init, tail