added loop button