Refactor card