Parsing card data halfway completed, need refactoring later.