problem with displaying the structure