redundant get_class($this) replaced by $class calculated before