I have set an error message for inappropriate usage of profRegr.