Finding Critical Value