improving code with bob informations