cv implementation