added msgstatus