added cross validation to models