Add sample code, see #8