ID-0 Added smarty (only global so far)