additional isPi detection