added warning support