add mapping for is_valid field