Changed error messages to list