put caveats in a separate caveats function