sms function call on one line