moved version inside class