yes! it works with a loop, an ugly one but still a loop. now i'll start refactoring