Added a base, added smarty