reduce scanning overhead a bit