added commands + loop