report now returns duration
Added error to try/catch