change get_called_class to get_class($this)