added sms functionality