added copy paste for macos