use six.u for python3 compatibility