Adding CURL katz query