should we not calculate this array outside of the loop? its always the same and i fear this could become unnecessary slow with a larger data set.