added constant for maximum number of cards to header