implement display pyramid