Use 'for' construct instead of 'until'