type-chooser on main