index out of range error of 3rd to last experiment