prepare cards page