It's a really clever piece of engineering ...