added bad sending function