change value for looping till 1 to 999