creating the same `$cs` in each iteration