cv functionality added