added id to the display method