added indexErrors