refactoring out newCard call