cognitive-master-slave