close method