setup cb init routine