change in default and for loop