Made it able to add outputdisplay dynamically