Adding a semi-working example.