added bank functionality