fixed that damn hardcoded index!!
Merge pull request #35 from Basert/master

fixed that damn hardcoded index!!