local and cross-c