Revert of 9fa8e7083cf30b5fda38f5816e903effeaa66701
refactor structure info printing