off by 1 on the x