Added incrementer and if statement to check values if values are numeric