added smarty block