lots of fixes. sending works well
added example and documentation