fixed index uncommented line 27