removed extra error calculation step