KAS: Revised design, with basic export working