added title on display()