continuing coding classes according to UML diagram