Teaching structured analysis and design by adapting UML notation