add send fn in scheduler