make it python3 ready