periphreal connect/disconnect work