Attributes._loop_calculator() - needs to be debugged