Card validator first version