structure printing example