templating system can loop and is now in one template file... epic win!