createCards runtime improve