finished cps macro