closes the books