better decision jungle code