added account closed field, expanded key field for bug fix