fixed number formatting, bank incrementing
added end of period conditions