added lang field to Sample