changed index file
makes program work