add extension codes