include error info as well