Refactored to use this.attribute syntax for hello function.