python 3 compatibility
python code style only