some changes for sending objects

does not work yet