added version validation