Changing variable from local to instance.