Sample codes for embeding by TotalStudio