some codes in my paper