7-arrange before scanning