added locked candidates segment 2