tweaks to how bank_num works