support for errors and longer running time