predicate bank working