add some very complicated and sophisticated python code