misc fixes, plugged in dest code. still need to write multicast