added promise to properly show all cards