appends container to document at construction