Adding version trick code