Here is some code.