introduce version attribute, default to trunk