log at debug so i can see wtf is going on, make py3 compat
better var names