Added block functionality to sequences