added the possibity to save diferent types of card, fixes #2