Forgot to add assertion to loop