merged console and UI version