modify FOR loops