Some collected sample code for customer support