edited while loops chapter