Sure, there are other ways you could have achieved this, but this is a pretty cool approach.