requiring smarty