add loop clourse