add getters to the components