Revert "Revert "add version""

This reverts commit 2a793e585186ac386ed9986465aa2387dd170d01.