changed single card implementation to a collection of card buttons