Removed old card code