use loop function in template parser