Відправити по sms: The design and analysis of sequential clinical trials