Invia SMS: The trainable a foundations approach