find the critical value