Implemented last or next card