why is task an instance variable?