this is not compatible with PHP 5.3. You cannot use ``$this`` in a closure