adding the methods for each class that implements the observer