Added an LCD function to handle the LCD displays