updated bank with global variable
Revert "updated bank with global variable"

This reverts commit fd6e5cc99696fb7fb527c1c39008e92cf8895320.