a bunch of mods to allow for pluggable card service algorithms
ensured no conflict on edits