further edits to the date-block cv function.
finished wrapper