added SMS functionality