moved version to an attribute