good for use in subdocument