Nice - I was wondering if there was a better way to handle this