initial import after flattinging