add information about creat function and close function