Simplified certain for loop declarations