minimal change: moved  some code from handleUpperMsg to sendDown