Add import Foundation for GCD