add complexity score threshold