add misc for extern