removed comments and added for loop