added all known perror checks possible