adding warning messages