computer codes to close #91