write to the bank