thanks! it does simplify code a bit :-)