Replaced original values with locals