initial part of cvode template