first commit
smarty code inserted