added version check functions