Made the receiver and sender output consistent