Measuring success and error