Thanks Matt, this solution is one to a problem I just thought of today.