added close function readme