<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def add_button(self, button):
 """Adds a button that's part of this keypad. We'll use this to dispatch button events."""

    self._buttons.append(button)
    self._components[button.component_number] = button