everything was off by 1