display functionality implementation