first sending function added