This is just duplicating code; merge $this->data with the additional variables that are being given to the function.