split out cu.py