add deconnection method