quad for for_loop added