updated to arc using xcode