implement display method