Updated error messages 1-31