added skip of inititaion of for loop