edit Initialise and Connect