                $banner->increaseImpressions();
            }
        }
        
        // assign banner to the template and show it!
        assign_to_template(array(
            'banners'=>$banners
        ));
    }