weird for loop, keep for record