declaring exchanges