Added variable "this" as a reference to current entity instance