Contact Arrangement Code (Module A)