*actually* make this work on python 3