adding SMSEndState