was not calculating