adding smsMessaging functionality