CardContent and refactoring