converting to XCode