updates to display.c