Use better loop syntax