Added off by one operator