add stlye to index