renaming card class