flattening structure for now