updated code in index. Symbols not working.