Sequence programming example