compile sequence