a bit weird to do this in a second for loop?