add loop construct with pi program.