added version counter