began adding card functionality