previewing warning class