adding card class