added minimal example for cps