Restricted first threshold to AI only

Also improved the formatting