sms parsing part1