Added the option to increment array position