Great, it works! It solved my problem, though a bit differently that I had expected