implement bank operation