created sendSMS method