adding the info to the ui