close() has been added