refactored card to work with new data. Still working on modal