Thanks for the model, just what I was looking for (edited)