fixed spelling
Added version checking