make this a bit more python3 friendly