added statuses case to regex