updating to use the status Enum