workable version, maybe bug in send