type -> ext