foundation for adding cards