Removed the unnecessary static variables for loops