Every town had its own commune and no two communes were alike , but at the heart , communes were sworn alliegences of mutual defense . Every town had its own commune and no two communes were alike , but at their heart , communes were sworn allegiances of mutual defense .