functions to configure jag mode