@document is attr_accessor
version up