added override statements to subclasses