Added support for error level