do not use $this in closures