quick and dirty in py for 008