python3.3 compatibility