might have been bad math on the array