working with loop unrolling