Basic example design to code conversion.