hidOutput now calculated correctly