close seems to be successfully working