removed unecessary parameter from clacluting output errors