added version check and warning