move predicates and functor into creditcard package