adding AvgStim from MSchmidts folder