added support for sms and user dictionary