more preprocessor work; coming to grips with python's syntax