Adding CARdieMAN utility code.