This is pretty smart.