little modifs with python 3.3