added next card method