added critical value and alpha slider