first attempt to update smarty function for weather header