make display method public