Fix: Add +1 to run function end param to actually iterate from 1 to param
value