simple smarty analog