finished with part 1 of card UI