Old code removed and renamed amount to balance