Works something like this....