Added smarty variable for easier access to template values