first commit for OSX version, testing only