how to use cord ends