some more work on the ui
export enum
merged with mzanetti