work on close operations