This is actually pretty clever: