add status and type to factor