added some assertions to sms feature