modularising UI_comms