simple loop added