card component initialized