ajout print de state method