Analysis and design