Added status code to status_t