OMG FIX OFF BY 1 ERROR