add some problems
add a threshold