handle case where intercept function is not provided