changed std to stdDev, fixed index grabbers