some factoring and support for text messaging