Began adding function send