Refactor fetch card info