Changes to accomodate python 3