moving confidence/thresholds to array fashion, and inserted some spaces inside brackets