Working example.

Could still use some tests.