code clean up
making card viewer view cards