reformatting status field from integer to char field