changed from IdAndName to tuple <String, String>