Method overriding example