now working: smarty