Pooja: adding between condition: template code completed