added title to the display and removed the database call