turned card into a view