sms partially working, but cloudcode is running too long- need to implement parallel promises