generate convention