why it is necessary for this to be an instance variable?