added base for card saving