fix example for multiple definitions