these lines are repeated 3x in this PR. should it be a method on the bank account model itself?