Flow control in spec