forgot to update break condition