Add loop for com