the display function works now but will need to implement the gui