-*-cv-*- first code for second assignment