Removed assigning lastId and lastCard