Replace Instance Variables with Local Variables