In begin-loop: changed let binding to a loop binding