working at separating the cdv file so it can be called separately. Also trying to keep the cdv file constant for the check