a python rework of xcow