added set channel and set target endpoints