It does, but your solution seems more elegant.