changed loop button