add warning level 1 to 10 default to inverse