moved arc and version check to .m file. fixes #10