Progect loop and template