Code samples for cv