first phase:interface design.