some tools for using range loop in attributes
some more range for loops