added warning messages