osx: wrap in fn