Fixing bug for multiple closings
Updated doc