added smiles insertion