Sequence works, except for loops