edited the coercetochar, impreoveryrate and testdate function