modified bank py file