added logger and UI