add sample code for custom primary keys