added version generation