I didn't see your comment until now, but I think my solution is better anyway.