added initial value to for loop
version bumped to 1.0.1