changed class diagram and added a method to DataHandler