first draft. Can't do anything further until I debug rPython