smarty sample