display the name of parent on top of squere