Created functions to allow us to render a card on a date