Added Code to fit the UML
extended licence