initial commit, tested under OSX