provide a complete credits example in example-sim