add new method setVersion