add console listener + failure messages