add loop partial