adding cross validator