For statement inside setup and loop function