hack to just extract structure