Flattening
Got importance meta added, logic for grid