this is a really neat solution.