You can also melt the ends to prevent the cord from fraying.
Prevents fraying of ribbon and trim and secures serged threads.