use example code to test