added version check handler