Commented loop added to top of code